package cn.Liujialin.org.query;

import cn.Liujialin.basic.util.PageList;
import lombok.Data;

@Data
public class DepartmentQuery extends PageList {

    //分页
    private Integer currentPage = 1;
    //每页显示条数
    private Integer pageSize = 10;

    private String keyword;
    //start
    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }

}
